<?php

class LoginRequiredException extends \BaseException {

    public function __construct(){
        $exception = Config::get('exceptions.user.loginRequired');
        parent::__construct($exception['message'], $exception['code']);
    }
}